package com.citycloud.ccuap.tc.yq.entity;

import static org.springframework.data.mybatis.annotations.Id.GenerationType.UUID;

import org.springframework.data.mybatis.annotations.Column;
import org.springframework.data.mybatis.annotations.Condition;
import org.springframework.data.mybatis.annotations.Entity;
import org.springframework.data.mybatis.annotations.Id;
import org.springframework.data.repository.query.parser.Part;

import com.citycloud.ccuap.framework.service.Model;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 数据维度对业务类型实体对象
 * 
 * @author sufeng
 *
 */
@Data
@NoArgsConstructor
@Entity(table = "sys_dimension_bustype")
public class SysDimensionBustype implements Model {
	private static final long serialVersionUID = 1L;

	@Id(strategy = UUID)
	@Column(name = "obj_id")
	@Condition(type = Part.Type.LIKE)
	private String objId;

	@Column(name = "bustype_obj_id")
	private String bustypeObjId;

	@Column(name = "dic_code_type")
	private String dicCodeType;

	@Column(name = "BUSTYPE_CONDITION")
	@Condition(type = Part.Type.LIKE)
	private String bustypeCondition;

	@Column(name = "SPECIAL_TYPE")
	private int specialType;

	@Column(name = "datagroup_id")
	@Condition(type = Part.Type.LIKE)
	private String datagroupId;

	@Column(name = "symbol_obj_id")
	@Condition(type = Part.Type.LIKE)
	private String symbolObjId;

	@Column(name = "bustype_desc")
	@Condition(type = Part.Type.LIKE)
	private String bustypeDesc;

	@Column(name = "bustype_descbak")
	@Condition(type = Part.Type.LIKE)
	private String bustypeDescbak;
}